package com.koron.housing.contract.bean.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import com.alibaba.excel.enums.poi.VerticalAlignmentEnum;
import com.koron.housing.excel.BillBooleanStringConverter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author jzp
 * @since 2022/3/17
 */
@Data
@ApiModel(value = "发票统计信息", description = "HousingContractStatistics")
@ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER, verticalAlignment = VerticalAlignmentEnum.CENTER)
public class HousingContractStatistics {
    @ExcelProperty(value = {"扣款方信息", "合同编号"})
    @ApiModelProperty("编号")
    private String code;

    @ExcelProperty(value = {"扣款方信息", "收款方"})
    @ApiModelProperty("收款方")
    private String payee;

    @ExcelProperty(value = {"扣款方信息", "分行名称"})
    @ApiModelProperty("收款方分行名称")
    private String payeeBank;

    @ExcelProperty(value = "承租方")
    @ApiModelProperty("承租方")
    private String tenantry;

    @ExcelProperty(value = "楼盘名称")
    @ApiModelProperty("小区")
    private String village;

    @ExcelProperty(value = "房号")
    @ApiModelProperty("房号")
    private String roomNum;

    @ExcelProperty(value = {"租金", "单间"})
    @ApiModelProperty("租金")
    private Double rent;

    @ExcelProperty(value = {"租金", "楼盘合计"})
    @ApiModelProperty("租金合计")
    private Integer totalRent;

    @ExcelProperty(value = "一月", converter = BillBooleanStringConverter.class)
    @ApiModelProperty("一月")
    private Boolean January;

    // @ExcelProperty(value = "二月")
    @ExcelProperty(value = "二月", converter = BillBooleanStringConverter.class)
    @ApiModelProperty("二月")
    private Boolean February;

    @ExcelProperty(value = "三月", converter = BillBooleanStringConverter.class)
    @ApiModelProperty("三月")
    private Boolean March;

    @ExcelProperty(value = "四月", converter = BillBooleanStringConverter.class)
    @ApiModelProperty("四月")
    private Boolean April;

    @ExcelProperty(value = "五月", converter = BillBooleanStringConverter.class)
    @ApiModelProperty("五月")
    private Boolean May;

    @ExcelProperty(value = "六月", converter = BillBooleanStringConverter.class)
    @ApiModelProperty("六月")
    private Boolean June;

    @ExcelProperty(value = "七月", converter = BillBooleanStringConverter.class)
    @ApiModelProperty("七月")
    private Boolean July;

    @ExcelProperty(value = "八月", converter = BillBooleanStringConverter.class)
    @ApiModelProperty("八月")
    private Boolean August;

    @ExcelProperty(value = "九月", converter = BillBooleanStringConverter.class)
    @ApiModelProperty("九月")
    private Boolean September;

    @ExcelProperty(value = "十月", converter = BillBooleanStringConverter.class)
    @ApiModelProperty("十月")
    private Boolean October;

    @ExcelProperty(value = "十一月", converter = BillBooleanStringConverter.class)
    @ApiModelProperty("十一月")
    private Boolean November;

    @ExcelProperty(value = "十二月", converter = BillBooleanStringConverter.class)
    @ApiModelProperty("十二月")
    private Boolean December;

}
